<!---
	Copyright 2010 Edward Trudeau, Jeremy Battle
    This software is freely available under the MIT License: http://www.opensource.org/licenses/mit-license.php
    http://ayc.googlecode.com
    
--->

<cfparam name="attributes.menuStyle" default="cms" />
<cfparam name="attributes.activeTab" default="" />
<cfparam name="attributes.activeMenuID" default="folder" />
<cfparam name="attributes.menu" default="none" />
<cfprocessingdirective suppresswhitespace="yes">
<cfif thisTag.hasEndTag AND thisTag.executionMode EQ "start">
<cfsetting enablecfoutputonly="yes">
<cfcontent reset="yes">
<cfoutput>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
    <meta content="en-us" http-equiv="Content-Language" />
    <meta content="en-US" name="DC.language" />
        <meta content="no" http-equiv="ImageResize" />
        <meta content="no" http-equiv="ImageToolbar" />
        <meta content="IE=7" http-equiv="X-UA-Compatible" />
        <meta content="38.93397,-77.00042" name="geo.position" />
        <meta content="Washington, DC" name="geo.placename" />
        <meta content="US-DC" name="geo.region" />
        <meta content="38.93397,-77.00042" name="ICBM" />
        <meta name="viewport" content="width=320; initial-scale=1; maximum-scale=1.0; minimum-scale=0.6666" />
    <title>The Catholic University of America</title>
    
    <!-- CSS --->
    <link rel="stylesheet" type="text/css" media="all" href="#request.baseurl#/css/reset-fonts.css" />
    <link rel="stylesheet" type="text/css" media="all" href="#request.baseurl#/css/base-min.css" />
    <link rel="stylesheet" type="text/css" media="all" href="#request.baseurl#/css/core.css" />
    <link rel="stylesheet" type="text/css" media="all" href="#request.baseurl#/res/themes/#application.theme#/css/jquery-ui.css" /> 
    <link rel="stylesheet" type="text/css" media="all" href="#request.baseurl#/res/themes/#application.theme#/css/theme.cfm" />
	<link rel="stylesheet" type="text/css" media="all" href="#request.baseurl#/res/themes/#application.theme#/css/ui.jqgrid.css" />
	<!-- JS -->
	<script src="http://www.google.com/jsapi?key=ABQIAAAASPM1bhIDPzkt_9soaVfpNxRZXjnwXNcBv-T71pJZo1iw928u1hSFrjR51EiAelNQ5fqgFuyaJoKfHQ" type="text/javascript"></script>
    <script language="Javascript" type="text/javascript">
    //<![CDATA[

    google.load("jquery", "1.4.0");
  	google.load("jqueryui", "1.7.2");

    //]]>
    </script>
	<script src="#request.baseurl#/js/grid.locale-en.js" type="text/javascript"></script>
	<script src="#request.baseurl#/js/jquery.jqGrid.min.js" type="text/javascript"></script>
	<script>
		$(document).ready(function(){
			$(":submit").mouseenter(function(){
				$(this).addClass("ui-state-hover");
			});
			$(":submit").mouseleave(function(){
				$(this).removeClass("ui-state-hover");
			});
		});
	</script>
	<!---<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.min.js"></script>
	<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"></script><script type="text/javascript" src="#request.baseurl#/js/jquery.min.js"></script>
	<script type="text/javascript" src="#request.baseurl#/js/jquery-ui.min.js"></script>
	<script type="text/javascript" src="#request.baseurl#/js/jquery.tooltip.min.js"></script>
    <script type="text/javascript" src="#request.baseURL#/js/core.js"></script>--->
    <cfif len(trim(request.msg))>
	<script>
		$(document).ready(function(){
			var msgCSSObj = {
				<cfif structKeyExists(request,"msgBGColor") and len(trim(request.msgBGColor))>
				'background': '#request.msgBGColor#',
				</cfif>
				<cfif structKeyExists(request,"msgTextColor") and len(trim(request.msgTextColor))>
				'color': '#request.msgTextColor#',
				</cfif>
				'width': '100%',
				'font-size': '120%',
				'font-weight': '900',
				'padding-top': '.5em',
				'padding-bottom': '.5em',
				'text-align': 'center',
				'z-index': '99999',
				'display': 'none'				
			}
			<cfoutput>$("<div>")
							.attr("class","ui-widget ui-state-error ui-corner-all")
							.attr("id","msg")
							.html("#request.msg#")
							.css(msgCSSObj)
							<cfif structKeyExists(request,"msgLocation") and len(trim(request.msgLocation))>
							.prependTo("#request.msgLocation#")
							<cfelse>
							.prependTo(".grid")
							</cfif>
							.fadeIn("slow")
			</cfoutput>
			setTimeout
			(
				function()
				{
					$("##msg").slideUp("slow");
				},
				<cfif structKeyExists(request,"msgDuration") and len(trim(request.msgDuration))>
				#request.msgDuration#
				<cfelse>
				10000
				</cfif>
			);
		})
		
	</script>
	
    </cfif>
</head>
<body class=<cfif compareNoCase(attributes.menu,"none") EQ 0>"school no-left"<cfelse>"school"</cfif>>
    <div id="pagewrapper">
        <div id="doc" class="clearfix">
            <div id="branding"><a href="##"><img src="#request.baseurl#/res/images/cua-logo-small.gif" alt="The Catholic University of America" /></a></div>
			<cfmodule template="/mod/menuBuilder.cfm" activeTab="#attributes.activeTab#" menuStyle="jams" />
            <div id="school-branding"><h1>#application.appName#</h1></div>
            <div id="pagebody" class="clearfix">
                <cfif compareNoCase(attributes.menu,"none") NEQ 0>
                	<cfmodule template="/mod/menuBuilder.cfm" activeTab="#attributes.activeTab#" menuStyle="#attributes.menu#" />
                    <div id="content">
                    	<div class="col1">
                <cfelse>
                   	<div class="grid grid-land">
                </cfif>
</cfoutput>
<cfsetting enablecfoutputonly="no">
<cfelseif thisTag.hasEndTag AND thisTag.executionMode EQ "end">
<cfsetting enablecfoutputonly="yes">
<cfoutput>
    				
            		</div><!--  /grid grid-land or /col1 -->
					<cfif compareNoCase(attributes.menu,"none") NEQ 0>
            		</div><!--/div content--> 
                    </cfif>
            </div><!-- /pagebody -->
            	<div id="global-nav">
                    <cfif NOT structKeyExists(attributes, "topLevelHome")><a href="http://www.cua.edu">CUA Home</a>
                    <span class="divider">|</span></cfif>
                    <a href="http://www.cua.edu/contact-us.cfm">Contact Us</a>
                    <span class="divider">|</span>
                    <a href="http://www.cua.edu/a-z-index">A-Z Site Index</a>
                    <span class="divider">|</span>
                    <a href="http://www.cua.edu/careers.cfm" class="careers">Careers</a>
        
                </div>
                <div id="global-search">
                    <form method="get" action="http://www.googlesyndicatedsearch.com/u/CatholicUniversity" name="srchfrm" id="srchfrm">
                        <div>
                            <input type="text" name="q" id="q" maxlength="255" value="" class="searchbox" />
                            <input type="image" src="#request.baseURL#/res/images/btn-search.gif" value="Search" class="searchbtn" />
                        </div>
                    </form>
            	</div>
        </div><!-- /doc -->
    </div><!-- /pagewrapper -->
</body>
</html>
</cfoutput>
<cfelse>
	 <cfmodule template="/mod/stdError.cfm" errMsg="Custom Tag headerFooter was called without an end tag.  This tag must always be called with a closing tag." errType="Header footer" />
    <cfexit>     
</cfif>
</cfprocessingdirective>	
	
	


